/* eslint-disable import/newline-after-import */
/* eslint-disable import/extensions */
/* eslint-disable import/order */
import { betterRequire } from '../utils/common'; // 动态加载文件
import { resolve } from 'path';
const apply = (action, ...args) => {
  betterRequire(resolve(__dirname, `./${action}`))(...args);
};

export default apply;
